package com.example.hzly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hzly.entity.RouteFeature;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RouteFeatureMapper extends BaseMapper<RouteFeature> {
    
    @Select("SELECT * FROM route_feature WHERE route_id = #{routeId}")
    List<RouteFeature> selectByRouteId(@Param("routeId") Long routeId);
}